﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace xxxy.Web.personalInfo
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					int pID=(Convert.ToInt32(strid));
					ShowInfo(pID);
				}
			}
		}
		
	private void ShowInfo(int pID)
	{
		xxxy.BLL.personalInfo bll=new xxxy.BLL.personalInfo();
		xxxy.Model.personalInfo model=bll.GetModel(pID);
		this.lblpID.Text=model.pID.ToString();
		this.lblpDataName.Text=model.pDataName;
		this.lblpIssuingTime.Text=model.pIssuingTime.ToString();
		this.lblpUploadTime.Text=model.pUploadTime.ToString();
		this.lblpDepartment.Text=model.pDepartment;
		this.lblpAddress.Text=model.pAddress;
		this.lblpAttachments1.Text=model.pAttachments1;
		this.lblpAttachments2.Text=model.pAttachments2;
		this.lblpRemarks.Text=model.pRemarks;
		this.lblpStation.Text=model.pStation.ToString();
		this.lblpUploadName.Text=model.pUploadName.ToString();

	}


    }
}
